home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
admin
/
squota-0.01
/
squota-0~
/
Squota
/
Squotack
< prev
next >
Wrap
Text File
|
1996-05-07
|
256b
|
14 lines
#!/bin/bash
. /var/adm/Squota/quotavars
if test $UID = 0
then
if test "$1" = "-u"
then
cat $HQ/quota.users.$MON | grep $DAY | grep $2 |cut -d" " -f2-
exit 2
fi
else
cat $HQ/quota.users.$MON | grep $DAY | grep $UID |cut -d" " -f2-
fi